<template>
  <div id="app">
    <div>{{result}}</div>
    <hr>
    <HelloWorld/>
  </div>
</template>

<script>
  import HelloWorld from './components/HelloWorld'
  import axios from 'axios'
  
export default {
  name: 'App',
  components: {
    HelloWorld
  },
  data() {
    return {
      result : ''
    }
  },
  created() {
    axios({
      url : 'https://index-api.meadin.com/openapi/rest/v1/cn.meadin.open/comment/user_comment.get',
      params : {
        id : 373,
        type : 1,
        commentType : 0,
        currentPage : 2,
        displayCount : 30
      }
    }).then(res => {
      this.result = res;
    })
  }
}
</script>

<style>
</style>
